/*!
\copyright  Copyright (c) 2023 Qualcomm Technologies International, Ltd.\n
            All Rights Reserved.\n
            Qualcomm Technologies International, Ltd. Confidential and Proprietary.
\file       
\brief      The sending of events from the Connection Manager using the Event Bus
*/

#ifndef __PAIRING_EVENT_SEND_H
#define __PAIRING_EVENT_SEND_H

/*! @{ */

#include <bdaddr.h>
#include <connection.h>

/*! \brief Send the event to indicate that Pairing has completed for BREDR transport.

    \param addr The BREDR BT address. Accepts a valid address or NULL.
    \param status The pairing complete status.
*/
void Pairing_EventSendSimplePairingCompleteWithBdaddr(const bdaddr * addr, hci_status status);

/*! \brief Send the event to indicate that Pairing has completed.

    \param tpaddr The complete typed BT address. Accepts a valid address or NULL.
    \param status The pairing complete status.
*/
void Pairing_EventSendSimplePairingCompleteWithTpaddr(const tp_bdaddr * tpaddr, hci_status status);

/*! \brief Send the event to indicate that BLE encryption has changed.

    \param tpaddr tpaddr The complete typed BT address.
*/
void Pairing_EventSendBleEncryptionChanged(const tp_bdaddr * tpaddr);

/*! \brief Send the event to indicate that BLE bonding has occurred.

    \param tpaddr tpaddr The complete typed BT address.
*/
void Pairing_EventSendBleBond(const tp_bdaddr * tpaddr);

/*! @} */

#endif
